package com.alibaba.aone.casestudy.common.entity;

import java.io.Serializable;
import java.util.Date;

public class FailureRpAsignGroup implements Serializable{
	private Integer id;
	private String rpMan;
	private String rpDepartment;
	private String rpManager;
	private String rpProductLine;
	private String rpRole;
	private Double rpAccount;
	private String failureNumber;
	private Date gmtCreate;
	private Date gmtModified;
	
	//页面显示
	private String rpAccoutShow;
	private String rpManName ;
	private String rpMangerName;
	
	
	
	public String getRpMangerName() {
		String[] strarray = null;
		if(null!=rpManager){
		 String str=rpManager; 
	      strarray=str.split("-"); 
	      return strarray[1];
		}
		return null;
	}
	public String getRpManName() {
		String[] strarray = null;
		if(null!=rpMan){
		 String str=rpMan; 
	      strarray=str.split("-"); 
	      return strarray[1];
		}
		return null;
	}
	public String getRpAccoutShow() {
		String rpAccoutString = null;
		if(null!=rpAccount){
		 rpAccoutString = rpAccount*100+"%";
		}
		return rpAccoutString;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRpMan() {
		return rpMan;
	}
	public void setRpMan(String rpMan) {
		this.rpMan = rpMan;
	}
	public String getRpDepartment() {
		return rpDepartment;
	}
	public void setRpDepartment(String rpDepartment) {
		this.rpDepartment = rpDepartment;
	}
	public String getRpManager() {
		return rpManager;
	}
	public void setRpManager(String rpManager) {
		this.rpManager = rpManager;
	}
	public String getRpProductLine() {
		return rpProductLine;
	}
	public void setRpProductLine(String rpProductLine) {
		this.rpProductLine = rpProductLine;
	}
	public String getRpRole() {
		return rpRole;
	}
	public void setRpRole(String rpRole) {
		this.rpRole = rpRole;
	}
	public String getFailureNumber() {
		return failureNumber;
	}
	public void setFailureNumber(String failureNumber) {
		this.failureNumber = failureNumber;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public Double getRpAccount() {
		return rpAccount;
	}
	public void setRpAccount(Double rpAccount) {
		this.rpAccount = rpAccount;
	}
	
	
	
	
	

}
